<template>
  <div class="salarys-container">
    <div class="app-container">
      <h2>
        工资
      </h2>
      <Son>
        <template #head="{a,}">
          {{ a }}
          <h3>我是自定义的子组件标题</h3>
        </template>
        <template #default="obj">
          {{ obj }}
          <input type="text">
        </template>
      </Son>
    </div>
  </div>
</template>

<script>
import Son from './Son'
export default {
  name: 'Salarys',
  components: {
    Son
  }
}
</script>

<style>

</style>
